package open.witype.filetiper.fragment.file.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import open.witype.filetiper.R;

/**
 * Created by Typer on 2015/5/29 0029.
 *
 */
public class FileViewHolder extends RecyclerView.ViewHolder {

    public RelativeLayout item_container;

    public LinearLayout item_filelist_content_container;

    public TextView file_img_tip;

    public TextView fileName;

    public TextView fileExtra;

    public TextView fileSize;

    public CheckBox mCheckBox;

    public ImageView item_filelist_ic;

    public FileViewHolder(View view) {
        super(view);
        this.file_img_tip = (TextView) view.findViewById(R.id.item_img_tip);
        this.fileName = (TextView) view.findViewById(R.id.item_fileName);
        this.fileExtra = (TextView) view.findViewById(R.id.item_fileExtra);
        this.mCheckBox = (CheckBox) view.findViewById(R.id.item_check);
        this.item_filelist_ic = (ImageView) view.findViewById(R.id.item_filelist_ic);
        this.item_container = (RelativeLayout)itemView.findViewById(R.id.item_container);
        this.item_filelist_content_container = (LinearLayout)itemView.findViewById(R.id.item_filelist_content_container);
        this.fileSize = (TextView)itemView.findViewById(R.id.item_filesize);
    }
}
